<%@ include file="/WEB-INF/jsp/tagHTMLLibIncludes.jsp"%>
<div class="divTitle"><fmt:message key="classDef.security"/></div>
<input type="hidden" value="${auth}/classDef/${classDefType}/${selectedClassDefId}/security/list" id="hrefListSecurities"/>
<display:table name="securities" id="sec" defaultsort="1" pagesize="50" style="width:100%;" class="table">
   <display:column titleKey="user.username">
      <c:if test="${sec.hasCreator}"><fmt:message key="security.user.creator"/></c:if>
      <c:if test="${sec.hasCreator==false}">${sec.userInfo.username}</c:if>
      <input type="hidden" value="${auth}/classDef/security/${sec.userInfo.id}/edit"></input>
   </display:column>
   <display:column titleKey="security.viewproperties" style="text-align:center"><c:if test="${fn:hasPermission(sec.accessMask,1)}"><img src="images/button_yes.gif"/></c:if></display:column>
   <display:column titleKey="security.modifyproperties" style="text-align:center"><c:if test="${fn:hasPermission(sec.accessMask,2)}"><img src="images/button_yes.gif"/></c:if></display:column>
   <display:column titleKey="security.delete" style="text-align:center"><c:if test="${fn:hasPermission(sec.accessMask,4)}"><img src="images/button_yes.gif"/></c:if></display:column>
   <display:column titleKey="security.createInstance" style="text-align:center"><c:if test="${fn:hasPermission(sec.accessMask,8)}"><img src="images/button_yes.gif"/></c:if></display:column>
   <display:column titleKey="security.viewpermission" style="text-align:center"><c:if test="${fn:hasPermission(sec.accessMask,16)}"><img src="images/button_yes.gif"/></c:if></display:column>
   <display:column titleKey="security.modifypermission" style="text-align:center"><c:if test="${fn:hasPermission(sec.accessMask,32)}"><img src="images/button_yes.gif"/></c:if></display:column>
   <display:column titleKey="security.linkproperties" style="text-align:center"><c:if test="${fn:hasPermission(sec.accessMask,128)}"><img src="images/button_yes.gif"/></c:if></display:column>
</display:table>
 <div class="divButtonURL">
   <div class="buttonURL"><a href="#" id="hrefCancel"><fmt:message key="btn.cancel"/></a></div>
   <div class="buttonURL"><a href="#" id="hrefAssignPermision"><input type="hidden" value="${auth}/classDef/${classDefType}/${selectedClassDefId}/security/assign"/><fmt:message key="btn.assign"/></a></div>
   <div class="buttonURL"><a href="#" id="hrefNext"><fmt:message key="btn.next"/></a></div>
</div>


